import Vue from 'vue'
import Router from 'vue-router'
import indexPage from '@/pages/indexPage'
import login from '@/pages/login'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/indexPage'
    },
    { path: '/login', name: 'login', component: login },
    { path: '/indexPage', name: 'indexPage', component: indexPage },
  ]
})
